/**
 * 
 */
package STUDENTS.TRANNGOCTU.Sources;

import java.util.Scanner;

/**
 * @author lasta
 *
 */
public class Excersice1_While {
	public static void main(String[] args) {
		String user = "";
		String pass = "";
		Scanner sc = null ;
		
		while (user.isEmpty()){
			System.out.println("Nhap Username :");		
			sc = new Scanner(System.in);
			user = sc.nextLine();					
		}
		
		while(pass.isEmpty()) {
			System.out.println("Nhap Pass :");
			pass = sc.nextLine();
		}
		
			if (user.equals("tutn")&& pass.equals("nothing"))
				System.out.println("Dang nhap thanh cong");
			else System.out.println("Dang nhap khong thanh cong");
	}

}
